package com.xywy.bloodandroid.vollery;

import java.util.Map;

import com.android.volley.AuthFailureError;

public class PostRequest<T> extends BaseRequest<T> {
	private Map<String, String> params;

	public PostRequest(String url, Class<T> mClazz, OnVolleyResponseListener<T> onVolleyResponseListener) {
		super(Method.POST, url, mClazz, onVolleyResponseListener);
	}

	@Override
	public Map<String, String> getParams() throws AuthFailureError {
		return params;
	}

	/**
	 * post方式传入参数
	 * 
	 * @param params
	 */
	public void setParams(Map<String, String> params) {
		this.params = params;
	}

}